package cn.cew.bytespy.transfer;

import cn.cew.bytespy.comm.AgentParam;

import java.lang.instrument.IllegalClassFormatException;
import java.security.ProtectionDomain;

/**
 * @author chenenwei
 * @version 1.0.0
 * @description TODO
 * @createTime 2022-10-15 14:43:00
 */
public class LocalVarTransformer extends BaseTransformer {

    public LocalVarTransformer(AgentParam agentParam) {
        this.agentParam = agentParam;
    }

    @Override
    public byte[] doTransform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException {
        return new byte[0];
    }

    @Override
    public byte[] makeClass(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws Exception {
        return new byte[0];
    }
}
